package com.yuyue.springFramework.note05.annotation;

import org.springframework.stereotype.Component;

/**
 * 创建 @Component 自动注册类
 */
@Component("componentEntity1")
public class ComponentEntity1 {
    private ComponentEntity componentEntity;

    public ComponentEntity getComponentEntity() {
        return componentEntity;
    }

    public void setComponentEntity(ComponentEntity componentEntity) {
        this.componentEntity = componentEntity;
    }
}
